package com.zxy.ziems.server.log.controller;

import com.zxy.btp.common.response.PageResult;
import com.zxy.ziems.server.log.pojo.param.OperLogParam;
import com.zxy.ziems.server.log.pojo.vo.OperLogVO;
import com.zxy.ziems.server.log.service.OperLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/oper/log")
public class OperLogController {

    @Autowired
    private OperLogService operLogService;

    @GetMapping("/page")
    PageResult<OperLogVO> page(OperLogParam param) {
        return operLogService.page(param);
    }
}
